package com.anche.cywebnew.DAO.systemManager;

import com.anche.cywebnew.Pojo.systemManager.RoleResource;
import com.anche.cywebnew.Pojo.systemManager.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMapper {
    List<SysRole> getSysRoles();

    void updateRoleById(SysRole sysRole);

    void deleteRoleById(@Param("id") String id);

    void insertSysRole(SysRole sysRole);

}
